package com.supreme.proxyserver.config.props;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
@PropertySource(value = {"classpath:application.properties"}, encoding = "UTF-8")
public class ApplicationProps {

    @Value("${spring.application.name}")
    private String springApplicationName;

    @Value("${spring.profiles.active}")
    private String springProfilesActive;
}
